﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo01
{
    class Superman : Animal, IFlyable
    {
        public string name { get; set; }
        public Superman(string name)
        {
            this.name = name;
        }
        public void Fly()
        {
            Console.WriteLine("{0}在飞", name);
        }

        public void Land()
        {
            Console.WriteLine("{0}降落！！！", name);
        }

        public void TakeOff()
        {
            Console.WriteLine("{0}起飞！！！", name);
        }

        public override void Eat()
        {
            Console.WriteLine("我可以吃很多！");
        }
    }
}
